package com.woniuxy.login.exception;

import lombok.Data;

/**
 * Date: 2021/6/17:20:47  <br/>
 * Description:
 */
@Data
public class SeckillException extends RuntimeException{
    private int code;
    private String message;

    public SeckillException() {
    }

    public SeckillException(String message) {
        super(message);
    }

    public SeckillException(String message, Throwable cause) {
        super(message, cause);
    }

    public SeckillException(Throwable cause) {
        super(cause);
    }

    public SeckillException(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
